package com.example.touchsystemdemo;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.ViewGroup;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}
	
	@Override
    public boolean dispatchTouchEvent(MotionEvent ev) {
		Log.d("MainActivity", "dispatchTouchEvent");
		return super.dispatchTouchEvent(ev);		     
	}  
	@Override
	public boolean onTouchEvent(MotionEvent event) {
		Log.d("MainActivity", "onTouchEvent");
		return super.onTouchEvent(event);			 
}
}
